﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XiaoYou.XuzhouZhihuiYinshui.WaterQuality
{
    public class WaterQualityData : Volo.Abp.Domain.Entities.Entity<int>
    {
        /// <summary>
        /// 实时值
        /// </summary>
        public double CurrentValue { get; set; }

        /// <summary>
        /// 最小警告
        /// </summary>
        public double MinAnomaly { get; set; }

        /// <summary>
        /// 最大警告
        /// </summary>
        public double MaxAnomaly { get; set; }

        /// <summary>
        /// 最小值
        /// </summary>
        public double MinValue { get; set; }

        /// <summary>
        /// 最大值
        /// </summary>
        public double MaxValue { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        public int WaterQualityStationId { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        public virtual WaterQualityStation WaterQualityStation { get; set; } 

        public virtual ICollection<WaterQualityHistory> WaterQualityHistories { get; set; }
    }
}
